﻿
using System.Linq;
namespace DataLayer
{
    // TODO_OL: Ta bort efter commit
   public class CheckDBInfo
    {

       //public static bool CheckIfPlayerExits(string name)
       //{
       //    var entities = new GameDbEntities();

       //    var playerName = entities.Player.FirstOrDefault(s => s.Name == name);

       //    return playerName != null && !string.IsNullOrEmpty((playerName.Name));
       //}
    }
}
